<filecopy> : Copy File(s)

Copies file(s).

Syntax: 

<filecopy>("FileSource", "FileDestination", SubDir, Reserved)

FileSource
Full path to the file to copy  (e.g., "c:\mydocuments\original.doc").  The file path can contain wildcard characters (*?).  In such the case all the files matching the pattern are copied.
Can be a static text or variable containing text.

FileDestination   
Full path to the new file (e.g., "c:\mydocuments\copy.doc").  If the FileSource contains wildcard characters the FileDestination must specify directory (e.g., "c:\mydocuments") where multiple files are copied.
Can be a static text or variable containing text.

SubDir
Takes effect only if the FileSource contains wildcard characters.  If 1, files from all the sub directories are copied as well (if matching the pattern).  If 0, files from sub directories are not copied.

Reserved
Must be 0.

Example: 

<#> This macro copies file you select to the file "c:\filecopy.txt"
<#>
<cmds>
<var_oper>(vFile,"*.txt",SELECT_FILE,"Select File","", "0")
<if_str>("_vCanceled==1") <exitmacro> <endif>
<filecopy>("vFile","c:\filecopy.txt",0,0)